// com.example.demo_text.Grade
package com.example.demo_text;

import java.sql.Date;

public class Grade {
    private int studentId;
    private int courseId;
    private double score;  // 成绩（0-100）
    private Date updateTime;

    // Getter/Setter
    public int getStudentId() { return studentId; }
    public void setStudentId(int studentId) { this.studentId = studentId; }

    public int getCourseId() { return courseId; }
    public void setCourseId(int courseId) { this.courseId = courseId; }

    public double getScore() { return score; }
    public void setScore(double score) { this.score = score; }

    public Date getUpdateTime() { return updateTime; }
    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
}
